package com.wengluobiancheng.demo03;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.net.DatagramSocket;
import java.net.Socket;
import java.nio.charset.StandardCharsets;

public class ClientDemo01 {
    public static void main(String[] args) throws IOException {
        Socket sk = new Socket("192.168.29.45", 12222);
        OutputStream outputStream = sk.getOutputStream();
        outputStream.write("qwe".getBytes());
        sk.close();
        outputStream.close();
    }
}
